<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
<?php print $head; ?>
<title><?php print $head_title; ?></title>
<?php print $styles; ?>
<?php print $scripts; ?>
</head>
<body<?php print phptemplate_body_class($left, $right); ?>>
<?php include 'inc.header.tpl.php';?>


<div id="container-wrapper">


<?php if ($left): ?>
    <div id="sidebar-left" class="sidebar-node"><div class="ind">
        <?php print $left ?>
    </div></div>
<?php endif; ?>

<div id="content"><div class="ind">
                                <div class="border-left">
                                    <div class="border-right">
                                        <div class="border-top">
                                            <div class="border-bot">
                                                <div class="corner-top-left">
                                                    <div class="corner-top-right">
                                                        <div class="corner-bot-left">
                                                            <div class="corner-bot-right">
                                                            	<div class="inner">

    <?php if ($content_top) : ?><div class="content-top"><?php print $content_top; ?></div>
    <?php endif; ?>

    <?php print $breadcrumb; ?>
    <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
    <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
    <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
    <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
    <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
    <?php if ($show_messages && $messages): print $messages; endif; ?>
    <?php print $help; ?>
    <div class="clear-block">
    <?php print $content ?>
    </div>

    <?php if ($content_bottom) : ?><div class="content-bottom"><?php print $content_bottom; ?></div>
    <?php endif; ?>

                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>


</div></div> <!-- end content -->

<?php if ($right): ?>
    <div id="sidebar-right" class="sidebar-node"><div class="ind">
        <?php print $right; ?>
    </div></div>
<?php endif; ?>

<div style="clear:both"></div>


</div> <!-- end container wrapper -->

<?php include 'inc.footer.tpl.php'; ?>

</body>
</html>
